<template>
	<view class="container">
		<x-refresh :use="isRefresh" @refresh='refresh' :isImg='refreshImg' :pullHeight='50' :maxHeight='50'
			:isTab='false' ref='xRefresh'>
			<order></order>
		</x-refresh>
	</view>
</template>

<script>
	import order from '@/pages/order/index.vue'
	export default {
		components: {
			order
		},
		data() {
			return {
				isRefresh: true,
				refreshImg: false,
			}
		},
		methods:{
			//自定义下拉刷新
			refresh() {
				setTimeout(() => {
					this.$refs.xRefresh.reSet()
				}, 1000)
			},
		}
	}
</script>

<style lang="scss">
	.container {
		padding: 0 30rpx;
		padding-bottom: 180rpx;
		overflow: hidden;
	}
</style>